package kr.saeildamil.androidstudy_second.br_service;

import kr.saeildamil.andrordstudy.second.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch2930Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch2930_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch31_main_btn01:
			intent.setClass(this, NapAlarm.class);
			break;
		case R.id.ch29_main_btn02:
			intent.setClass(this, DetectFree.class);
			break;
		case R.id.ch29_main_btn03:
			intent.setClass(this, DetectSaveZone.class);
			break;
		case R.id.ch29_main_btn04:
			intent.setClass(this, OnSaveZone.class);
			break;
		case R.id.ch29_main_btn05:
			intent.setClass(this, AlarmTest.class);
			break;
		case R.id.ch29_main_btn06:
			intent.setClass(this, MusicServiceTest.class);
			break;
		case R.id.ch29_main_btn07:
			intent.setClass(this, NewsIntentServiceTest.class);
			break;
		case R.id.ch29_main_btn08:
			intent.setClass(this, BoundServiceTest.class);
			break;
		case R.id.ch29_main_btn09:
			intent.setClass(this, MessengerServiceTest.class);
			break;
		}
		startActivity(intent);
	}
}
